home *** CD-ROM | disk | FTP | other *** search
/ Champak 49 / Volume 49 - JOGO DISK .iso / Games / flappy.swf / scripts / frame_5 / PlaceObject2_140_32 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2007-09-27  |  393 b   |  20 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.BigBird.scrollStart == true)
  3.    {
  4.       if(this._x > -200)
  5.       {
  6.          this._x -= balloonSpeed;
  7.       }
  8.       if(this._x <= -200)
  9.       {
  10.          this.orange.gotoAndStop(1);
  11.          this._y = random(300) + 20;
  12.          this._x = 800;
  13.          if(balloonSpeed < 15)
  14.          {
  15.             balloonSpeed++;
  16.          }
  17.       }
  18.    }
  19. }
  20.